/*
 * test.cpp
 *
 *  Created on: 2008-12-17
 *      Author: Administrator
 */
#include<vector>
#include<iostream>
#include<stdlib.h>
#include "MinHeap.h"
using std::vector;
using std::cout;
using std::endl;
int main(void)
{
	srand(time(NULL));
	cout<<endl;
	vector<int> orrange(5);
	for(int i=0; i<5; i++)
	{
		orrange[i] = (int)(((double)rand()/((double)(RAND_MAX)+(double)(1)))*100)+1;
		cout<<orrange[i]<<endl;
	}
	MinHeap<int> apple(orrange);
	cout<<apple;
}
